import React from 'react';
import ReactDOM from 'react-dom/client';
import reportWebVitals from './reportWebVitals';
import { RouterProvider } from "react-router-dom"
import router from './router';
import { ConfigProvider } from 'antd';
import zhCN from "antd/locale/zh_CN";
import './index.css'
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <ConfigProvider
      locale={zhCN}
      theme={{
        token: {
          colorPrimary: "red",
        },
      }}
    >
      <RouterProvider
        router={router}
      /></ConfigProvider>
  </React.StrictMode>
);
reportWebVitals();